Assignment 5
Due Monday, April 11, 2005
Add the following menus to the program you developed for the previous
assignment. Use switch statements for the menus.
Main Menu
- Customer menu
- Product menu
- Supplier menu
- Agent menu
- Order menu
- Exit the system
Customer Menu
- Add a customer
- Select customer (user provides customer id)
- Display selected customer information
- Go to main menu
Supplier Menu
- Add a supplier
- Select supplier (user provides supplier id)
- Display selected supplier information
- Go to main menu
Product Menu
- Add a product
- Select product (user provides product id)
- Display selected product information
- Go to main menu
Agent Menu
- Add an agent
- Select agent (user provides agent id)
- Display selected agent information
- Go to main menu
Order Menu
- Add an order
- Select order (user provides order id)
- Display selected order information
- Go to main menu
Model your code using the following class.
The functionality provided by each menu option (in every menu)
will be contained in a separate method!
Here is an updated version of InfoManager that uses an array of customers.